def fib(n):  # n是指斐波那契数列的第几项
    if n == 1 or n == 2:
        return 1
    else:
        return fib(n - 1) + fib(n - 2)


print(fib(7))
print('---------------')
#   输出前六位数字
for i in range(1, 7):
    print(fib(i))
